/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Lib;

/**
 *
 * @author scriptoff
 */
public interface TransportInterface {

    void envoyer(Object o) throws ErreurEnvoiException;

    void fermer() throws ErreurFermetureException;

    Object recevoir() throws ErreurReceptionException;
    
    void connecter(String host, int port) throws ErreurConnectionException;

}
